<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台-侧栏</title>
    <link type="text/css" rel="stylesheet" href="/css/style.css">
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
    <script language="javascript" type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
</head>
<body background="/images/back.gif" style="background-color:white">
<center>

    <table border="0" width="220" height="auto" cellspacing="0" cellpadding="0" style="margin-top:7;background-color:white">
        <!-- 用户管理 -->
        <tr height="30" bgcolor="#F0F0F0"><td style="text-indent:5" style="border:1 solid"><font color="#004790"><b>■用户管理</b></font></td></tr>
        <tr height="1"><td></td></tr>
        <form action="admin_SetMoneyShow.action">
            <tr>
                <td align="center" valign="top" style="border:1 solid">
                    <table border="0" width="220" height="80" cellspacing="0"  style="font-size:12px">
                        <tr height="25"><td align="center" valign="bottom">请输入要查询的用户ID：</td></tr>
                        <tr height="40">
                            <td align="center">
                                <input id="select_user_id" type="text" name="moneyID" value="" size="24"/>
                                <input onclick="selectByUserId()" type="button" value="查询"/>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </form>
        <!-- 显示方式 -->
        <tr height="30" bgcolor="#F0F0F0"><td style="text-indent:5;border:1 solid"><font color="#004790"><b>■显示方式</b></font></td></tr>
        <tr height="1"><td></td></tr>
        <form id="admin_ListShow_action?" name="admin_ListShow_action?" action="/web/admin_ListShow.action" method="post">
            <tr>
                <td align="center" valign="top" style="border:1 solid">
                    <table border="0" width="215" height="150" cellspacing="0" style="font-size:12px">
                        <tr>
                            <td align="center" colspan="2">
                                <fieldset style="height:60;width:200">
                                    <legend>★付费状态</legend>
                                    <br>
                                    <input type="radio" name="showType.payforType" id="admin_ListShow_action?_showType_payforType0" value="0"/>
                                    <label for="admin_ListShow_action?_showType_payforType0">未付费</label>
                                    <input type="radio" name="showType.payforType" id="admin_ListShow_action?_showType_payforType1" value="1"/>
                                    <label for="admin_ListShow_action?_showType_payforType1">已付费</label>
                                    <input checked type="radio" name="showType.payforType" id="admin_ListShow_action?_showType_payforTypeall" value=""/>
                                    <label for="admin_ListShow_action?_showType_payforTypeall">全部</label>

                                </fieldset>
                                <fieldset style="height:60;width:200">
                                    <legend>★审核状态</legend>
                                    <br>
                                    <input type="radio" name="showType.stateType" id="admin_ListShow_action?_showType_stateType0" value="0"/>
                                    <label for="admin_ListShow_action?_showType_stateType0">未审核</label>
                                    <input type="radio" name="showType.stateType" id="admin_ListShow_action?_showType_stateType1" value="1"/>
                                    <label for="admin_ListShow_action?_showType_stateType1">已审核</label>
                                    <input checked type="radio" name="showType.stateType" id="admin_ListShow_action?_showType_stateTypeall" value=""/>
                                    <label for="admin_ListShow_action?_showType_stateTypeall">全部</label>

                                </fieldset>
                            </td>
                        </tr>
                        <tr align="center" height="30" bgcolor="lightgrey">
                            <td>
                                信息类别：

                                <select name="showType.infoType" id="admin_ListShow_action_showType_infoType">
                                    <option value=""></option>
                                    <option value="0">暂时没有信息</option>
                                    <option value="1">招聘信息</option>
                                    <option value="2">培训信息</option>
                                    <option value="3">房屋信息</option>
                                    <option value="4">求购信息</option>
                                    <option value="5">招商引资</option>
                                    <option value="6">公寓信息</option>
                                    <option value="7">求职信息</option>
                                    <option value="8">家教信息</option>
                                    <option value="9">车辆信息</option>
                                    <option value="10">出售信息</option>
                                    <option value="11">寻找启示</option>


                                </select>

                                <input type="button" onclick="query()" id="admin_ListShow_action_0" value="显示"/>

                            </td>
                        </tr>

                    </table>
                </td>
            </tr>
        </form>

        <tr height="5"><td></td></tr>
        <!-- 设置已付费信息 -->
        <tr height="30" bgcolor="#F0F0F0"><td style="text-indent:5" style="border:1 solid"><font color="#004790"><b>■付费设置</b></font></td></tr>
        <tr height="1"><td></td></tr>
        <form action="admin_SetMoneyShow.action">
            <tr>
                <td align="center" valign="top" style="border:1 solid">
                    <table border="0" width="220" height="80" cellspacing="0"  style="font-size:12px">
                        <tr height="25"><td align="center" valign="bottom">请输入要设为已付费状态的信息ID：</td></tr>
                        <tr height="40">
                            <td align="center">
                                <input type="text" id="check_pay_id" name="moneyID" value="" size="24"/>
                                <input type="button" onclick="setCheckPay()" value="查询"/>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </form>
        <tr height="5"><td></td></tr>
        <tr height="30" bgcolor="#F0F0F0"><td style="text-indent:5;border:1 solid"><font color="#004790"><b>■日历</b></font></td></tr>
        <tr height="1"><td></td></tr>
        <!-- 日历 -->
        <tr height="180">
            <td valign="top" align="center">
                <div id="div1" style="width:210px;"></div>
            </td>
        </tr>
    </table>
</center>
</body>
<script>

    // 设置发布信息的审核和付费
    function setCheckPay() {
        var check_pay_id = document.getElementById("check_pay_id").value;
        window.localStorage.setItem("check_pay_id", check_pay_id);
        window.parent.document.getElementById("main_show")
            .contentWindow.document.getElementById("show").contentWindow.selectNotCheckPay();
    }

    // 查询用户根据ID
    function selectByUserId() {
        var select_user_id = document.getElementById("select_user_id").value;
        window.localStorage.setItem("select_user_id", select_user_id);
        window.parent.document.getElementById("main_show")
            .contentWindow.document.getElementById("show").contentWindow.getUserByUserId();
    }

    // 查询信息-多条件检索
    function query() {
        var pay = $("input[name='showType.payforType']:checked").val();
        var check = $("input[name='showType.stateType']:checked").val();
        var type = $("#admin_ListShow_action_showType_infoType").val();
        window.localStorage.setItem("m_pay", pay);
        window.localStorage.setItem("m_check", check);
        window.localStorage.setItem("m_type", type);
        window.parent.document.getElementById("main_show")
            .contentWindow.document.getElementById("show").contentWindow.getInfo(1);
    }
    WdatePicker({eCont:'div1'})
</script>
</html>